package com.fuyu.system.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.github.pagehelper.PageHelper;

public interface BaseCrud<T> {

    default void startPage(Integer page, Integer size) {
        PageHelper.startPage(page, size);
    }


    default LambdaQueryWrapper<T> getLambdaQueryWrapper() {
        LambdaQueryWrapper<T> queryWrapper = new LambdaQueryWrapper<T>();
        return queryWrapper;
    }
}
